package com.sunday.xxl.job.trace;

public interface TraceConstants {

    String XXL_JOB_PREFIX = "sunday.xxl.job";
    String FROM_PREFIX = "From_";
    String XXL_JOB_SERVICE = "xxlJob";
    String JOB_ID = "jobId";
    String JOB_HANDLER = "jobHandler";
    String CLASS_NAME = "className";
    String request_format = "[xxl-job][Request] Body : [{}] , trace : {}.{}";
    String request_xxl_job_format = STR."[{}]\{request_format}";
    String response_format_ack = "[xxl-job][Response][Ack] handleCode : {}, handleMsg : {}";
    String response_xxl_job_format_ack = STR."[{}]\{response_format_ack}";
    String response_format_nack = "[xxl-job][Response][Nack] handleCode : {}, handleMsg : {}";
    String response_xxl_job_format_nack = STR."[{}]\{response_format_nack}";
    String response_format_throwable = "[xxl-job][Response][Nack][ex] cause : [{}]";
    String response_xxl_job_format_throwable = STR."[{}]\{response_format_throwable}";

}
